package com.cyou.nad.qb.task;

import java.util.Date;

import org.apache.commons.lang.time.DateFormatUtils;
import org.springframework.stereotype.Component;

@Component("simpleTask")
public class SimpleTask{
	
	public void doTask1(){
		System.out.println("SimpleTask1 do "+DateFormatUtils.format(new Date(), "yyy-MM-dd HH:mm:ss"));
	}
	
	public void doTask2(){
		System.out.println("SimpleTask2 do "+DateFormatUtils.format(new Date(), "yyy-MM-dd HH:mm:ss"));
	}

}
